Optimal. Leaf size=177 \[ \frac {a x}{c^3 d}-\frac {b x}{2 c^3 d}+\frac {b x^2}{6 c^2 d}+\frac {b \tanh ^{-1}(c x)}{2 c^4 d}+\frac {b x \tanh ^{-1}(c x)}{c^3 d}-\frac {x^2 \left (a+b \tanh ^{-1}(c x)\right )}{2 c^2 d}+\frac {x^3 \left (a+b \tanh ^{-1}(c x)\right )}{3 c d}+\frac {\left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2}{1+c x}\right )}{c^4 d}+\frac {2 b \log \left (1-c^2 x^2\right )}{3 c^4 d}-\frac {b \text {PolyLog}\left (2,1-\frac {2}{1+c x}\right )}{2 c^4 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.21, antiderivative size = 177, normalized size of antiderivative = 1.00, number of steps
used = 16, number of rules used = 11, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.550, Rules used = {6077, 6037,
272, 45, 327, 212, 6021, 266, 6055, 2449, 2352} \begin {gather*} \frac {\log \left (\frac {2}{c x+1}\right ) \left (a+b \tanh ^{-1}(c x)\right )}{c^4 d}-\frac {x^2 \left (a+b \tanh ^{-1}(c x)\right )}{2 c^2 d}+\frac {x^3 \left (a+b \tanh ^{-1}(c x)\right )}{3 c d}+\frac {a x}{c^3 d}-\frac {b \text {Li}_2\left (1-\frac {2}{c x+1}\right )}{2 c^4 d}+\frac {b \tanh ^{-1}(c x)}{2 c^4 d}-\frac {b x}{2 c^3 d}+\frac {b x \tanh ^{-1}(c x)}{c^3 d}+\frac {b x^2}{6 c^2 d}+\frac {2 b \log \left (1-c^2 x^2\right )}{3 c^4 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 212
Rule 266
Rule 272
Rule 327
Rule 2352
Rule 2449
Rule 6021
Rule 6037
Rule 6055
Rule 6077
Rubi steps
\begin {align*} \int \frac {x^3 \left (a+b \tanh ^{-1}(c x)\right )}{d+c d x} \, dx &=-\frac {\int \frac {x^2 \left (a+b \tanh ^{-1}(c x)\right )}{d+c d x} \, dx}{c}+\frac {\int x^2 \left (a+b \tanh ^{-1}(c x)\right ) \, dx}{c d}\\ &=\frac {x^3 \left (a+b \tanh ^{-1}(c x)\right )}{3 c d}+\frac {\int \frac {x \left (a+b \tanh ^{-1}(c x)\right )}{d+c d x} \, dx}{c^2}-\frac {b \int \frac {x^3}{1-c^2 x^2} \, dx}{3 d}-\frac {\int x \left (a+b \tanh ^{-1}(c x)\right ) \, dx}{c^2 d}\\ &=-\frac {x^2 \left (a+b \tanh ^{-1}(c x)\right )}{2 c^2 d}+\frac {x^3 \left (a+b \tanh ^{-1}(c x)\right )}{3 c d}-\frac {\int \frac {a+b \tanh ^{-1}(c x)}{d+c d x} \, dx}{c^3}-\frac {b \text {Subst}\left (\int \frac {x}{1-c^2 x} \, dx,x,x^2\right )}{6 d}+\frac {\int \left (a+b \tanh ^{-1}(c x)\right ) \, dx}{c^3 d}+\frac {b \int \frac {x^2}{1-c^2 x^2} \, dx}{2 c d}\\ &=\frac {a x}{c^3 d}-\frac {b x}{2 c^3 d}-\frac {x^2 \left (a+b \tanh ^{-1}(c x)\right )}{2 c^2 d}+\frac {x^3 \left (a+b \tanh ^{-1}(c x)\right )}{3 c d}+\frac {\left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2}{1+c x}\right )}{c^4 d}-\frac {b \text {Subst}\left (\int \left (-\frac {1}{c^2}-\frac {1}{c^2 \left (-1+c^2 x\right )}\right ) \, dx,x,x^2\right )}{6 d}+\frac {b \int \frac {1}{1-c^2 x^2} \, dx}{2 c^3 d}+\frac {b \int \tanh ^{-1}(c x) \, dx}{c^3 d}-\frac {b \int \frac {\log \left (\frac {2}{1+c x}\right )}{1-c^2 x^2} \, dx}{c^3 d}\\ &=\frac {a x}{c^3 d}-\frac {b x}{2 c^3 d}+\frac {b x^2}{6 c^2 d}+\frac {b \tanh ^{-1}(c x)}{2 c^4 d}+\frac {b x \tanh ^{-1}(c x)}{c^3 d}-\frac {x^2 \left (a+b \tanh ^{-1}(c x)\right )}{2 c^2 d}+\frac {x^3 \left (a+b \tanh ^{-1}(c x)\right )}{3 c d}+\frac {\left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2}{1+c x}\right )}{c^4 d}+\frac {b \log \left (1-c^2 x^2\right )}{6 c^4 d}-\frac {b \text {Subst}\left (\int \frac {\log (2 x)}{1-2 x} \, dx,x,\frac {1}{1+c x}\right )}{c^4 d}-\frac {b \int \frac {x}{1-c^2 x^2} \, dx}{c^2 d}\\ &=\frac {a x}{c^3 d}-\frac {b x}{2 c^3 d}+\frac {b x^2}{6 c^2 d}+\frac {b \tanh ^{-1}(c x)}{2 c^4 d}+\frac {b x \tanh ^{-1}(c x)}{c^3 d}-\frac {x^2 \left (a+b \tanh ^{-1}(c x)\right )}{2 c^2 d}+\frac {x^3 \left (a+b \tanh ^{-1}(c x)\right )}{3 c d}+\frac {\left (a+b \tanh ^{-1}(c x)\right ) \log \left (\frac {2}{1+c x}\right )}{c^4 d}+\frac {2 b \log \left (1-c^2 x^2\right )}{3 c^4 d}-\frac {b \text {Li}_2\left (1-\frac {2}{1+c x}\right )}{2 c^4 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.24, size = 129, normalized size = 0.73 \begin {gather*} \frac {-b+6 a c x-3 b c x-3 a c^2 x^2+b c^2 x^2+2 a c^3 x^3+b \tanh ^{-1}(c x) \left (3+6 c x-3 c^2 x^2+2 c^3 x^3+6 \log \left (1+e^{-2 \tanh ^{-1}(c x)}\right )\right )-6 a \log (1+c x)+4 b \log \left (1-c^2 x^2\right )-3 b \text {PolyLog}\left (2,-e^{-2 \tanh ^{-1}(c x)}\right )}{6 c^4 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.30, size = 224, normalized size = 1.27
method | result | size |
derivativedivides | \(\frac {\frac {a \,c^{3} x^{3}}{3 d}-\frac {a \,c^{2} x^{2}}{2 d}+\frac {a c x}{d}-\frac {a \ln \left (c x +1\right )}{d}+\frac {b \,c^{3} x^{3} \arctanh \left (c x \right )}{3 d}-\frac {b \arctanh \left (c x \right ) c^{2} x^{2}}{2 d}+\frac {b \arctanh \left (c x \right ) c x}{d}-\frac {b \arctanh \left (c x \right ) \ln \left (c x +1\right )}{d}-\frac {b \ln \left (-\frac {c x}{2}+\frac {1}{2}\right ) \ln \left (c x +1\right )}{2 d}+\frac {b \ln \left (-\frac {c x}{2}+\frac {1}{2}\right ) \ln \left (\frac {c x}{2}+\frac {1}{2}\right )}{2 d}+\frac {b \dilog \left (\frac {c x}{2}+\frac {1}{2}\right )}{2 d}+\frac {b \ln \left (c x +1\right )^{2}}{4 d}+\frac {b \,c^{2} x^{2}}{6 d}-\frac {b c x}{2 d}-\frac {2 b}{3 d}+\frac {5 b \ln \left (c x -1\right )}{12 d}+\frac {11 b \ln \left (c x +1\right )}{12 d}}{c^{4}}\) | \(224\) |
default | \(\frac {\frac {a \,c^{3} x^{3}}{3 d}-\frac {a \,c^{2} x^{2}}{2 d}+\frac {a c x}{d}-\frac {a \ln \left (c x +1\right )}{d}+\frac {b \,c^{3} x^{3} \arctanh \left (c x \right )}{3 d}-\frac {b \arctanh \left (c x \right ) c^{2} x^{2}}{2 d}+\frac {b \arctanh \left (c x \right ) c x}{d}-\frac {b \arctanh \left (c x \right ) \ln \left (c x +1\right )}{d}-\frac {b \ln \left (-\frac {c x}{2}+\frac {1}{2}\right ) \ln \left (c x +1\right )}{2 d}+\frac {b \ln \left (-\frac {c x}{2}+\frac {1}{2}\right ) \ln \left (\frac {c x}{2}+\frac {1}{2}\right )}{2 d}+\frac {b \dilog \left (\frac {c x}{2}+\frac {1}{2}\right )}{2 d}+\frac {b \ln \left (c x +1\right )^{2}}{4 d}+\frac {b \,c^{2} x^{2}}{6 d}-\frac {b c x}{2 d}-\frac {2 b}{3 d}+\frac {5 b \ln \left (c x -1\right )}{12 d}+\frac {11 b \ln \left (c x +1\right )}{12 d}}{c^{4}}\) | \(224\) |
risch | \(-\frac {b \ln \left (c x +1\right )^{2}}{4 d \,c^{4}}+\frac {b \left (\frac {1}{3} c^{2} x^{3}-\frac {1}{2} c \,x^{2}+x \right ) \ln \left (c x +1\right )}{2 d \,c^{3}}-\frac {5 a}{6 d \,c^{4}}-\frac {31 b}{72 d \,c^{4}}+\frac {x^{3} a}{3 d c}-\frac {x^{2} a}{2 d \,c^{2}}+\frac {a x}{c^{3} d}+\frac {\ln \left (-c x +1\right ) x^{2} b}{4 d \,c^{2}}-\frac {b \ln \left (-c x +1\right ) x}{2 d \,c^{3}}+\frac {5 b \ln \left (-c x +1\right )}{12 d \,c^{4}}-\frac {b \dilog \left (-\frac {c x}{2}+\frac {1}{2}\right )}{2 d \,c^{4}}-\frac {a \ln \left (-c x -1\right )}{d \,c^{4}}-\frac {b \ln \left (\frac {c x}{2}+\frac {1}{2}\right ) \ln \left (-\frac {c x}{2}+\frac {1}{2}\right )}{2 d \,c^{4}}+\frac {b \ln \left (\frac {c x}{2}+\frac {1}{2}\right ) \ln \left (-c x +1\right )}{2 d \,c^{4}}+\frac {b \,x^{2}}{6 c^{2} d}-\frac {b x}{2 c^{3} d}-\frac {\ln \left (-c x +1\right ) x^{3} b}{6 d c}+\frac {11 b \ln \left (c x +1\right )}{12 d \,c^{4}}\) | \(287\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {a x^{3}}{c x + 1}\, dx + \int \frac {b x^{3} \operatorname {atanh}{\left (c x \right )}}{c x + 1}\, dx}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^3\,\left (a+b\,\mathrm {atanh}\left (c\,x\right )\right )}{d+c\,d\,x} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________